package com.atguigu.gmall.cart.client.feign.fallback;

import com.atguigu.gmall.cart.client.feign.CartFeignClient;
import com.atguigu.gmall.model.cart.CartInfo;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author wk
 * @create 2021-09-07 21:32
 */
@Component
public class CartFeignClientFallBack implements CartFeignClient {
    @Override
    public void addCart(Long skuId, Integer skuNum) {
    }

    @Override
    public CartInfo findCartInfo(Long skuId) {
        return null;
    }

    @Override
    public List<CartInfo> findCartInfoListByIsChecked() {
        return null;
    }

}
